﻿using mvcForum.Core.Abstractions.Interfaces;
using mvcForum.Web.Attributes;
using System;

namespace mvcForum.Web.Areas.ForumAdmin.ViewModels.Update {

	public class MailViewModel {
		public MailViewModel() { }
		public MailViewModel(IConfiguration config) {
			this.SenderEmailAddress = config.RobotEmailAddress;
			this.SenderName = config.RobotName;
		}

		[LocalizedDisplay("MVCForum.Web.ViewModels.MailViewModel", "RobotEmailAddress")]
		public String SenderEmailAddress { get; set; }
		[LocalizedDisplay("MVCForum.Web.ViewModels.MailViewModel", "RobotName")]
		public String SenderName { get; set; }
	}
}